#ifndef CAMPAIGNEDITFORM_H
#define CAMPAIGNEDITFORM_H



#include "EditFormWrapper.h"



namespace Ui {
    class CampaignEditForm;
}

class CampaignEditFormBase : public QWidget, public AbstractEditFormActions
{
    Q_OBJECT

public:

    virtual void updateData();


protected:

    CampaignEditFormBase(QWidget *parent = 0);
    ~CampaignEditFormBase();

    //virtual ItemModel* model() const = 0;


private:

    Ui::CampaignEditForm *ui;


protected slots:

    virtual void initialize();


private slots:
    void on_actionDelete_triggered();
    void on_actionAdd_Reference_triggered();
    void on_actionAdd_Item_triggered();
    void on_actionAdd_Group_triggered();
};



typedef EditFormWrapper<CampaignEditFormBase> CampaignEditForm;



#endif // CAMPAIGNEDITFORM_H
